package com.lapian.designmode.flyweight.test;

public class ConcreteRoleC extends AbstractRoleC {
    private String type;
    public ConcreteRoleC(String type) {
        this.type = type;
    }
    @Override
    public void use(UserC userC) {
        System.out.println(userC.name+"使用了"+type+"类型的魂技");
    }
}
